package se.webbzon.boltzmann.battle.environment;

import se.webbzon.boltzmann.environment.AbstractEnvironment;
import se.webbzon.boltzmann.inflatorgroup.DefaultInflatorGroup;
import se.webbzon.boltzmann.inflatorgroup.InflatorGroupException;

public class BattleInflatorGroup extends DefaultInflatorGroup {

	/*============================================================
	Public Methods
	============================================================*/

	@Override public void initialize(AbstractEnvironment env) throws Exception {
		if (!(env instanceof BattleEnvironment))
			throw new InflatorGroupException(	"The abstract environment must " +
												"be an instance of " + 
												"BattleEnvironment.");
		BattleEnvironment benv = (BattleEnvironment) env;
		super.initialize(benv);
	}

}
